/**
 * Created by LiYang on 16-9-27 下午2:07.
 *
 */
package com.example.db.support;

import android.database.Cursor;
import android.database.sqlite.SQLiteCursor;
import android.database.sqlite.SQLiteCursorDriver;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteQuery;

public class DefaultCursorFactory implements CursorFactory {
    public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, String editTable,
                            SQLiteQuery query) {
        return new SQLiteCursor(db, masterQuery, editTable, query);
    }
}
